//
//  MessageModel.h
//  sqlite
//
//  Created by 谢泽锋 on 2017/10/13.
//  Copyright © 2017年 Xie泽锋. All rights reserved.
//
typedef enum {
    SenderObjectMe,
    SenderObjectOther,
}SenderObject;
typedef enum {
    MessageTypeText,
}MessageType;

typedef enum{
    ChatTypeSingleChat,
    ChatTypeGroupChat,
}ChatType;


#import <Foundation/Foundation.h>

@interface MessageModel : NSObject


/**
 会话ID唯一标示
 */
@property(nonatomic,strong)NSString * ConversationID;
/**
 发送中账号
 */
@property(nonatomic,strong)NSString * UserAccount;

/**
 发送者用户名称
 */
@property(nonatomic,strong)NSString * name;

/**
 消息内容
 */
@property(nonatomic,strong)NSString * messageContent;

/**
 发送者 1 为我 2位其他人
 */
@property(nonatomic,assign)SenderObject sendObject;

/**
 发送时间
 */
@property(nonatomic,assign)NSInteger time;

/**
 消息体类型
 */
@property(nonatomic,assign)MessageType messageType;

/**
 会话类型
 */
@property(nonatomic,assign)ChatType  chatType;





@end
